package com.micai.springboot.dao;

import com.micai.springboot.entity.UserEntity;
import com.micai.springboot.vo.UserCountVo;

import java.util.List;

/**
 * Created by 赵新国 on 2017/12/4.
 */
public interface UserDao {

    public void saveUser(UserEntity user);

    public UserEntity findUserByUserName(String userName);

    public int updateUser(UserEntity user);

    public void deleteUserById(String id);

    public List<UserEntity> findUserAll();

    public UserEntity findUserById(String id);

    List<UserCountVo> countUserAll();
}
